public class BOAcomponent
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
BOAcomponent(java.lang.String classname,
ComponentsEnum type)
Variant of the main constructor in which it is assumed that the component has no
parameters.
|
BOAcomponent(java.lang.String classname,
ComponentsEnum type,
java.util.ArrayList<BOAparameter> orgParam)
Variant of the main constructor in which it is assumed that the component has no
parameters.
|
BOAcomponent(java.lang.String classname,
ComponentsEnum type,
java.util.HashMap<java.lang.String,java.math.BigDecimal> strategyParam)
Creates a BOA component consisting of the classname of the components, the type,
and the parameters with which the component should be loaded.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(java.lang.String name,
java.math.BigDecimal value)
Add a parameter to the set of parameters of this component.
|
java.lang.String |
getClassname() |
java.util.HashMap<java.lang.String,java.math.BigDecimal> |
getFullParameters() |
java.util.ArrayList<BOAparameter> |
getOriginalParameters() |
java.util.HashMap<java.lang.String,java.lang.Double> |
getParameters() |
ComponentsEnum |
getType() |
void |
setOriginalParameter(java.util.ArrayList<BOAparameter> param) |
java.lang.String |
toString() |
public BOAcomponent(java.lang.String classname,
ComponentsEnum type,
java.util.HashMap<java.lang.String,java.math.BigDecimal> strategyParam)
classname - of the component.type - of the component (for example bidding strategy).strategyParam - parameters of the component.public BOAcomponent(java.lang.String classname,
ComponentsEnum type)
classname - of the component.type - of the component (for example bidding strategy).public BOAcomponent(java.lang.String classname,
ComponentsEnum type,
java.util.ArrayList<BOAparameter> orgParam)
classname - of the component.type - of the component (for example bidding strategy).orgParam - backup of original parameterspublic void addParameter(java.lang.String name,
java.math.BigDecimal value)
name - of the parameter.value - of the parameter.public java.lang.String getClassname()
public ComponentsEnum getType()
public java.util.HashMap<java.lang.String,java.lang.Double> getParameters()
public java.util.HashMap<java.lang.String,java.math.BigDecimal> getFullParameters()
public java.util.ArrayList<BOAparameter> getOriginalParameters()
public void setOriginalParameter(java.util.ArrayList<BOAparameter> param)
public java.lang.String toString()
toString in class java.lang.Object